home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / c / sozobon / sozuti09.zoo / sozdistr / man / cat1 / pflags.1 < prev   
Encoding:
Text File  |  1995-09-03  |  2.3 KB  |  97 lines

  1. PFLAGS(1)        USER COMMANDS                (1)PFLAGS
  2.  
  3. NAME
  4.  
  5.     pflags    - show/change programflags in header
  6.  
  7.  
  8. SYNOPSIS
  9.  
  10.     pflags <file> [<file> ...] 
  11.  
  12.     pflags <options> file [options] [<file> ...]
  13.  
  14.     pflags [-Vh] [-vp] [[-|+]fload] [[-|+]fram[<n>]] [[-|+]fmem]
  15.         [[+|-]private] [+global] [+super] [+read] <file> ...
  16.  
  17. DESCRIPTION
  18.  
  19.     Pflags is a tool to modify or just show the program flags fixed
  20.     in the gemdos program header. 
  21.  
  22.     You may use it from commandline or in a makefile after linking
  23.     your sourcecode.  It doesn't support setting of 'shared text',
  24.     cause this needs a special linked file - only the linker should
  25.     set this flag!  Program flags are very dependant on TOS version
  26.     and hardware. 
  27.  
  28.     If called without any flag options, it prints the current
  29.     flags's state of each program on the commandline.
  30.  
  31.  
  32.     Options for help and info
  33.  
  34.     --version
  35.     -V 
  36.     Print version to stdout and exit.
  37.     
  38.     -h 
  39.     --help
  40.     Print help page and exit.
  41.  
  42.  
  43.     general options
  44.  
  45.     -v
  46.     Verbose mode, prints the flags of each file while changing.
  47.  
  48.     -p 
  49.     Prints complete program header.
  50.  
  51.  
  52.     Options for setting flags
  53.     a '+' always sets a flag, while a '-' unsets a flag.
  54.  
  55.     [+|-]fload
  56.     Set or unset fast load flag. The heap memory is not cleared with
  57.     this flag. (TOS vers >= 1.04)
  58.  
  59.     [+|-]fram[<n>]
  60.     Set or unset fastram flag. This flag tells gemdos that the program
  61.     prefers FastRam. (machine dependant) You can specify a number <n>,
  62.     to tell Gemdos, that the program needs <n>+1 chunks of 128K memory
  63.     additional to TEXT+DATA+BSS length.
  64.  
  65.     [+|-]fmem
  66.     Set or unset malloc() from fastram flag. This tells gemdos that
  67.     Malloc() should use FastRam whemever possible or never.
  68.     (machine dependant)
  69.  
  70.     [+|-]private
  71.     Unsets all propably set protection flags! The program's memory will
  72.     be private. (MiNT and 68030)
  73.  
  74.     +global
  75.     Sets global flag. Free access to the prg's memory for all other
  76.     processes.  (MiNT and 68030) 
  77.  
  78.     +super
  79.     Sets super flag. Free (global) access to the prg's memory for all
  80.     other processes in super mode.  (MiNT and 68030)
  81.  
  82.     +read
  83.     The prg's memory is private, no write access for other processes. 
  84.     But all have free access for reading it. (MiNT and 68030)
  85.  
  86.  
  87. AUTHOR
  88.  
  89.     pflags  version 0.3 (C) by jerry g. geiger 93/94
  90.         <jerry@zelator.de>
  91.  
  92.  
  93. NOTE
  94.     There is no warranty for this program. It is Freeware, and part of
  95.     SOZOBONx distribution. It may not be sold, or added to any
  96.     commercial software!
  97.